package com.zgx.webpoolsandroid

import android.content.Intent
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_launch.*

class LaunchActivity : AppCompatActivity() {


    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_launch)

        tv_txt.setOnClickListener {
            val intent = Intent(this@LaunchActivity, MainActivity::class.java)
            startActivity(intent)
            finish()
        }

    }

}